package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.Customer;
import com.ruoyi.business.qo.CustomerQO;
import com.ruoyi.business.vo.CustomerVO;
import org.apache.ibatis.annotations.Param;

public interface CustomerMapper extends BaseMapper<Customer> {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    IPage<CustomerVO> queryPage(@Param("page") Page page, @Param("customerQO") CustomerQO customerQO);
}